/*
 ============================================================================
 Name		: Container4.h
 Author	  : UMteam
 Version	 : 1.0
 Copyright   : Your copyright notice
 Description : CContainer4 declaration
 ============================================================================
 */

#ifndef CONTAINER4_H
#define CONTAINER4_H

// INCLUDES

#include <e32std.h>
#include <e32base.h>
#include <coecntrl.h>		
#include <eikedwin.h>
class MEikCommandObserver;		

class CContainer3 : public CCoeControl, MCoeControlObserver
	{
public:
	// constructors and destructor
	CContainer3();
	static CContainer3* NewL(const TRect& aRect);
	static CContainer3* NewLC(	const TRect& aRect);
	void ConstructL( const TRect& aRect);
	virtual ~CContainer3();
	

public:
	// from base class CCoeControl
	TInt CountComponentControls() const;
	CCoeControl* ComponentControl( TInt aIndex ) const;
	TKeyResponse OfferKeyEventL( 
			const TKeyEvent& aKeyEvent, 
			TEventCode aType );
	
protected:
	// from base class CCoeControl
	void SizeChanged();

private:
	// from base class CCoeControl
	void Draw( const TRect& aRect ) const;
	void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);
	//CFbsBitmap* iBackGround;
	CEikEdwin * inavigateEdwin;
	CFbsBitmap* iBackGround;
public: 
	enum TControls
		{
		ELastControl
		};
	};
#endif // CONTAINER4_H
